package com.lovo.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.web.bean.UserOrderBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface IUserOrderMapper extends BaseMapper<UserOrderBean> {
    List<UserOrderBean> findByNumList(List<String> nums);
    void updateOrderStatus(@Param("nums") List<String> nums,@Param("nowDate") LocalDate nowDate);
}
